package com.sskj.xgja.transaction.data;

import java.util.List;

public class OrderHistoryBean {

    /**
     * pageNum : 1
     * pageSize : 10
     * size : 2
     * startRow : 1
     * endRow : 2
     * total : 2
     * pages : 1
     * list : [{"id":179,"stockUserId":23,"account":"15093060100","username":"Hey","stockId":10286,"stockCode":"DJI","stockName":"道琼斯","stockType":4,"tradingType":1,"billType":0,"buyBillType":1,"entrustCount":1,"handNum":1,"everyHandNum":0,"entrustSuccessCount":1,"count":1,"price":"26050.0000","fee":"0","usdFee":"0.00","amount":"0","buyMoney":"0","buyPrincipal":"50.00","currency":2,"billStatus":4,"entrustNum":"1553491443221IdCl7i6","entrustTime":"2019-03-25 13:24:03","dealTime":"2019-03-25 15:16:31","createTime":"2019-03-25 15:16:31","closeOutType":1,"status":0,"freezeDeposit":"0","winLoseMoney":"-50.00","overNightFee":"0","timestamp":1553498191000,"stopLossPrice":"0.0","stopProfitPrice":"0.0","buyPrice":"26050.5000"},{"id":177,"stockUserId":23,"account":"15093060100","username":"Hey","stockId":10286,"stockCode":"DJI","stockName":"道琼斯","stockType":4,"tradingType":0,"billType":0,"buyBillType":1,"entrustCount":1,"handNum":1,"everyHandNum":0,"entrustSuccessCount":1,"count":1,"price":"26050.5000","fee":"50.00","usdFee":"50.00","amount":"100.00","buyMoney":"26050.50","buyPrincipal":"50.00","currency":2,"billStatus":4,"entrustNum":"1553491443221IdCl7i6","entrustTime":"2019-03-25 13:24:03","dealTime":"2019-03-25 13:24:03","createTime":"2019-03-25 13:24:03","closeOutType":0,"status":0,"freezeDeposit":"0","winLoseMoney":null,"overNightFee":"0","timestamp":1553491443000,"stopLossPrice":"0.0","stopProfitPrice":"0.0","buyPrice":"0.0000"}]
     * prePage : 0
     * nextPage : 0
     * isFirstPage : true
     * isLastPage : true
     * hasPreviousPage : false
     * hasNextPage : false
     * navigatePages : 8
     * navigatepageNums : [1]
     * navigateFirstPage : 1
     * navigateLastPage : 1
     * firstPage : 1
     * lastPage : 1
     */

    private int pageNum;
    private int pageSize;
    private int size;
    private int startRow;
    private int endRow;
    private int total;
    private int pages;
    private int prePage;
    private int nextPage;
    private boolean isFirstPage;
    private boolean isLastPage;
    private boolean hasPreviousPage;
    private boolean hasNextPage;
    private int navigatePages;
    private int navigateFirstPage;
    private int navigateLastPage;
    private int firstPage;
    private int lastPage;
    private List<OrderHistory> list;
    private List<Integer> navigatepageNums;




    public boolean isFirstPage() {
        return isFirstPage;
    }

    public void setFirstPage(boolean firstPage) {
        isFirstPage = firstPage;
    }

    public boolean isLastPage() {
        return isLastPage;
    }

    public void setLastPage(boolean lastPage) {
        isLastPage = lastPage;
    }


    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getStartRow() {
        return startRow;
    }

    public void setStartRow(int startRow) {
        this.startRow = startRow;
    }

    public int getEndRow() {
        return endRow;
    }

    public void setEndRow(int endRow) {
        this.endRow = endRow;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getPrePage() {
        return prePage;
    }

    public void setPrePage(int prePage) {
        this.prePage = prePage;
    }

    public int getNextPage() {
        return nextPage;
    }

    public void setNextPage(int nextPage) {
        this.nextPage = nextPage;
    }

    public boolean isIsFirstPage() {
        return isFirstPage;
    }

    public void setIsFirstPage(boolean isFirstPage) {
        this.isFirstPage = isFirstPage;
    }

    public boolean isIsLastPage() {
        return isLastPage;
    }

    public void setIsLastPage(boolean isLastPage) {
        this.isLastPage = isLastPage;
    }

    public boolean isHasPreviousPage() {
        return hasPreviousPage;
    }

    public void setHasPreviousPage(boolean hasPreviousPage) {
        this.hasPreviousPage = hasPreviousPage;
    }

    public boolean isHasNextPage() {
        return hasNextPage;
    }

    public void setHasNextPage(boolean hasNextPage) {
        this.hasNextPage = hasNextPage;
    }

    public int getNavigatePages() {
        return navigatePages;
    }

    public void setNavigatePages(int navigatePages) {
        this.navigatePages = navigatePages;
    }

    public int getNavigateFirstPage() {
        return navigateFirstPage;
    }

    public void setNavigateFirstPage(int navigateFirstPage) {
        this.navigateFirstPage = navigateFirstPage;
    }

    public int getNavigateLastPage() {
        return navigateLastPage;
    }

    public void setNavigateLastPage(int navigateLastPage) {
        this.navigateLastPage = navigateLastPage;
    }

    public int getFirstPage() {
        return firstPage;
    }

    public void setFirstPage(int firstPage) {
        this.firstPage = firstPage;
    }

    public int getLastPage() {
        return lastPage;
    }

    public void setLastPage(int lastPage) {
        this.lastPage = lastPage;
    }

    public List<OrderHistory> getList() {
        return list;
    }

    public void setList(List<OrderHistory> list) {
        this.list = list;
    }

    public List<Integer> getNavigatepageNums() {
        return navigatepageNums;
    }

    public void setNavigatepageNums(List<Integer> navigatepageNums) {
        this.navigatepageNums = navigatepageNums;
    }

    public static class OrderHistory {
        /**
         * id : 179
         * stockUserId : 23
         * account : 15093060100
         * username : Hey
         * stockId : 10286
         * stockCode : DJI
         * stockName : 道琼斯
         * stockType : 4
         * tradingType : 1
         * billType : 0
         * buyBillType : 1
         * entrustCount : 1
         * handNum : 1
         * everyHandNum : 0
         * entrustSuccessCount : 1
         * count : 1
         * price : 26050.0000
         * fee : 0
         * usdFee : 0.00
         * amount : 0
         * buyMoney : 0
         * buyPrincipal : 50.00
         * currency : 2
         * billStatus : 4
         * entrustNum : 1553491443221IdCl7i6
         * entrustTime : 2019-03-25 13:24:03
         * dealTime : 2019-03-25 15:16:31
         * createTime : 2019-03-25 15:16:31
         * closeOutType : 1
         * status : 0
         * freezeDeposit : 0
         * winLoseMoney : -50.00
         * overNightFee : 0
         * timestamp : 1553498191000
         * stopLossPrice : 0.0
         * stopProfitPrice : 0.0
         * buyPrice : 26050.5000
         */

        private int id;
        private int stockUserId;
        private String account;
        private String username;
        private int stockId;
        private String stockCode;
        private String stockName;
        private int stockType;
        private int tradingType;
        private int billType;
        private int buyBillType;
        private int entrustCount;
        private int handNum;
        private int everyHandNum;
        private int entrustSuccessCount;
        private int count;
        private String price;
        private String fee;
        private String usdFee;
        private String amount;
        private String buyMoney;
        private String buyPrincipal;
        private int currency;
        private int billStatus;
        private String entrustNum;
        private String entrustTime;
        private String dealTime;
        private String createTime;
        private int closeOutType;
        private int status;
        private String freezeDeposit;
        private String winLoseMoney;
        private String overNightFee;
        private long timestamp;
        private String stopLossPrice;
        private String stopProfitPrice;
        private String buyPrice;

        private String buynum;  //手数
        private String buyprice;  //买入价
        private String totalprice;  //保证金
        private String sxfee;   //手续费
        private String dayfee;  //过夜费
        private String sellprice;  //卖出价
        private String profit;  //盈亏
        private int otype;  //1融资  2融券
        private String pname;  //币种名称
        private String selltime;  //买入时间


        public String getBuynum() {
            return buynum;
        }

        public void setBuynum(String buynum) {
            this.buynum = buynum;
        }

        public String getBuyprice() {
            return buyprice;
        }

        public void setBuyprice(String buyprice) {
            this.buyprice = buyprice;
        }

        public String getTotalprice() {
            return totalprice;
        }

        public void setTotalprice(String totalprice) {
            this.totalprice = totalprice;
        }

        public String getSxfee() {
            return sxfee;
        }

        public void setSxfee(String sxfee) {
            this.sxfee = sxfee;
        }

        public String getDayfee() {
            return dayfee;
        }

        public void setDayfee(String dayfee) {
            this.dayfee = dayfee;
        }

        public String getSellprice() {
            return sellprice;
        }

        public void setSellprice(String sellprice) {
            this.sellprice = sellprice;
        }

        public String getProfit() {
            return profit;
        }

        public void setProfit(String profit) {
            this.profit = profit;
        }

        public int getOtype() {
            return otype;
        }

        public void setOtype(int otype) {
            this.otype = otype;
        }

        public String getPname() {
            return pname;
        }

        public void setPname(String pname) {
            this.pname = pname;
        }

        public String getSelltime() {
            return selltime;
        }

        public void setSelltime(String selltime) {
            this.selltime = selltime;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getStockUserId() {
            return stockUserId;
        }

        public void setStockUserId(int stockUserId) {
            this.stockUserId = stockUserId;
        }

        public String getAccount() {
            return account;
        }

        public void setAccount(String account) {
            this.account = account;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public int getStockId() {
            return stockId;
        }

        public void setStockId(int stockId) {
            this.stockId = stockId;
        }

        public String getStockCode() {
            return stockCode;
        }

        public void setStockCode(String stockCode) {
            this.stockCode = stockCode;
        }

        public String getStockName() {
            return stockName;
        }

        public void setStockName(String stockName) {
            this.stockName = stockName;
        }

        public int getStockType() {
            return stockType;
        }

        public void setStockType(int stockType) {
            this.stockType = stockType;
        }

        public int getTradingType() {
            return tradingType;
        }

        public void setTradingType(int tradingType) {
            this.tradingType = tradingType;
        }

        public int getBillType() {
            return billType;
        }

        public void setBillType(int billType) {
            this.billType = billType;
        }

        public int getBuyBillType() {
            return buyBillType;
        }

        public void setBuyBillType(int buyBillType) {
            this.buyBillType = buyBillType;
        }

        public int getEntrustCount() {
            return entrustCount;
        }

        public void setEntrustCount(int entrustCount) {
            this.entrustCount = entrustCount;
        }

        public int getHandNum() {
            return handNum;
        }

        public void setHandNum(int handNum) {
            this.handNum = handNum;
        }

        public int getEveryHandNum() {
            return everyHandNum;
        }

        public void setEveryHandNum(int everyHandNum) {
            this.everyHandNum = everyHandNum;
        }

        public int getEntrustSuccessCount() {
            return entrustSuccessCount;
        }

        public void setEntrustSuccessCount(int entrustSuccessCount) {
            this.entrustSuccessCount = entrustSuccessCount;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public String getPrice() {
            return price == null ? "0.0" : price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getFee() {
            return fee;
        }

        public void setFee(String fee) {
            this.fee = fee;
        }

        public String getUsdFee() {
            return usdFee;
        }

        public void setUsdFee(String usdFee) {
            this.usdFee = usdFee;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getBuyMoney() {
            return buyMoney;
        }

        public void setBuyMoney(String buyMoney) {
            this.buyMoney = buyMoney;
        }

        public String getBuyPrincipal() {
            return buyPrincipal;
        }

        public void setBuyPrincipal(String buyPrincipal) {
            this.buyPrincipal = buyPrincipal;
        }

        public int getCurrency() {
            return currency;
        }

        public void setCurrency(int currency) {
            this.currency = currency;
        }

        public int getBillStatus() {
            return billStatus;
        }

        public void setBillStatus(int billStatus) {
            this.billStatus = billStatus;
        }

        public String getEntrustNum() {
            return entrustNum;
        }

        public void setEntrustNum(String entrustNum) {
            this.entrustNum = entrustNum;
        }

        public String getEntrustTime() {
            return entrustTime;
        }

        public void setEntrustTime(String entrustTime) {
            this.entrustTime = entrustTime;
        }

        public String getDealTime() {
            return dealTime;
        }

        public void setDealTime(String dealTime) {
            this.dealTime = dealTime;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getCloseOutType() {
            return closeOutType;
        }

        public void setCloseOutType(int closeOutType) {
            this.closeOutType = closeOutType;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getFreezeDeposit() {
            return freezeDeposit;
        }

        public void setFreezeDeposit(String freezeDeposit) {
            this.freezeDeposit = freezeDeposit;
        }

        public String getWinLoseMoney() {
            return winLoseMoney == null ? "0.0" : winLoseMoney;
        }

        public void setWinLoseMoney(String winLoseMoney) {
            this.winLoseMoney = winLoseMoney;
        }

        public String getOverNightFee() {
            return overNightFee;
        }

        public void setOverNightFee(String overNightFee) {
            this.overNightFee = overNightFee;
        }

        public long getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(long timestamp) {
            this.timestamp = timestamp;
        }

        public String getStopLossPrice() {
            return stopLossPrice;
        }

        public void setStopLossPrice(String stopLossPrice) {
            this.stopLossPrice = stopLossPrice;
        }

        public String getStopProfitPrice() {
            return stopProfitPrice;
        }

        public void setStopProfitPrice(String stopProfitPrice) {
            this.stopProfitPrice = stopProfitPrice;
        }

        public String getBuyPrice() {
            return buyPrice;
        }

        public void setBuyPrice(String buyPrice) {
            this.buyPrice = buyPrice;
        }
    }
}
